file( GLOB cm_xmpp_src *.cpp )

include_directories( ../cm_base
                     ${CM_OPENSSL_DIR}/include
                     ${CM_POCO_DIR}/Foundation/include 
                     ${CM_POCO_DIR}/Util/include 
                     ${CM_POCO_DIR}/Net/include 
                     ${CM_POCO_DIR}/Crypto/include 
                     ${CM_POCO_DIR}/NetSSL_OpenSSL/include )


link_directories( ${CM_POCO_DIR}/lib/Linux/ARM ${CM_OPENSSL_DIR}/lib)

ADD_LIBRARY(cm_xmpp STATIC ${cm_xmpp_src})

target_link_libraries(cm_xmpp cm_base pthread rt PocoFoundationd PocoUtild PocoNetd PocoNetSSLd crypto ssl )
